package com.jinghua.treatment.mapper;

import com.jinghua.treatment.entity.SysInquiryAnswers;
import com.jinghua.treatment.entity.SysInquiryAnswersExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysInquiryAnswersMapper {
    int countByExample(SysInquiryAnswersExample example);

    int deleteByExample(SysInquiryAnswersExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysInquiryAnswers record);

    int insertSelective(SysInquiryAnswers record);

    List<SysInquiryAnswers> selectByExample(SysInquiryAnswersExample example);

    List<SysInquiryAnswers> selectByPatientId(@Param("patientId") Integer patientId);

    SysInquiryAnswers selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysInquiryAnswers record, @Param("example") SysInquiryAnswersExample example);

    int updateByExample(@Param("record") SysInquiryAnswers record, @Param("example") SysInquiryAnswersExample example);

    int updateByPrimaryKeySelective(SysInquiryAnswers record);

    int updateByPrimaryKey(SysInquiryAnswers record);
}